<?
session_start();
$mensagem = "";
$mensagem = $_GET['mensagem'];
if ($mensagem == "fechar") {
    session_destroy();
    header("Location: admin/login.php");
    exit;
}
include "util/validaUsuario.php";
?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="Content-Type" content="image/jpg" />
        <meta http-equiv="content-language" content="PT-BR" />
        <title>Meu Grande Dia :: Painel de controle </title>

        <style type="text/css">
            * {margin:0px;padding:0px;}
            html {font-family:Tahoma, Geneva, sans-serif;font-size:12px;color:#333;}
            h1 {font-size:16px;line-height:50px;}
            a {text-decoration:none;}
            #principal {width:1000px;height:auto;margin:auto;}
            #principal #menuEsq {float:left;width:200px;height:auto;}
            #principal #menuEsq ul.menuEsq {background:#E9E9E9;list-style:none;}
            #principal #menuEsq ul.menuEsq li {padding: 5px 0 5px 5px;}
            #principal #menuEsq ul.menuEsq .titulo {background:#6699CC;font-weight:bold;color:#FFF;font-size:14px;}
            #principal #menuDir {float:right;width:790px;height:auto;margin-left:10px;}
            #topo {width:1000px;height:auto;margin:auto;margin-top:10px;}
            #topo .titulo {font-size:16px;line-height:50px;}
        </style>
        <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
        <script src="/meugrandedia/_js/jquery.min.js"></script>
        <script src="/meugrandedia/_js/jquery-ui.min.js"></script>
        <script src="/meugrandedia/_js/jquery.ui.datepicker-pt-BR.js"></script>
        <script language="javascript" type="text/javascript">

            function validarForm(){
                document.form.submit();
            }

            $(function() {
               $('#dataEvento').datepicker($.datepicker.regional['pt-BR']);
            });
        </script>
    </head>
    <body>

        <div id="topo">
            <div class="logo"> <img src="/meugrandedia/_img/logo.jpg" alt="Meu Grande Dia" /> </div>
        </div>
        